/* HERO */

.projects-hero{
height:60vh;

background:
linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.75)),
url("images/holz.jpg");

background-size:cover;
background-position:center;
}


/* GALLERY */

.gallery{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
margin-top:40px;
}

.gallery-item{
aspect-ratio:1/1;
overflow:hidden;
border-radius:14px;
position:relative;
}

.gallery-item img{
width:100%;
height:100%;
object-fit:cover;

transition:0.5s;
}

/* Hover Effekt */

.gallery-item:hover img{
transform:scale(1.1);
}

/* Overlay Effekt */

.gallery-item::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;

background:rgba(0,0,0,0.2);

opacity:0;
transition:0.3s;
}

.gallery-item:hover::after{
opacity:1;
}


/* LIGHTBOX */

.lightbox{
position:fixed;
top:0;
left:0;

width:100%;
height:100%;

background:rgba(0,0,0,0.9);

display:none;
align-items:center;
justify-content:center;

z-index:2000;
}

.lightbox img{
max-width:90%;
max-height:90%;
border-radius:10px;
}

.close{
position:absolute;
top:30px;
right:40px;

font-size:40px;
color:white;
cursor:pointer;
}


/* CTA */

.cta{
background:linear-gradient(135deg,#4a2e1f,#7a4a2c);
color:white;
text-align:center;
padding:80px 20px;
}

